# -*- coding:utf-8 -*-
class fa(object):
    def __init__(self,name,age,weight):
        self.name = name
        self.age = age
        self.weight = weight

    def get_name(self):
        return self.name

class son(fa):
    def __init__(self,name,age,weight,habby):
        super(son,self).__init__(name,age,weight)
        self.habby = habby

if __name__=="__main__":
    s = son('张三','25','30','basketball')
    print s.__dict__
    print s.name
    print isinstance(s,fa)